package oop3.teacher;

public class Teacher {
	private String name, sex;
	private String subject;// 专业

	public Teacher(String name, String s) {
		this.name = name;
		this.subject = s;
	}

	public void teach() {
		System.out.println(name + "在讲" + subject + "!");
	}

	// 独有的方法
	public void workOnLinux() {
		System.out.println(name + "在linux上工作");
	}

	// 。net能维护windows server
	public void buildWindowsServer() {
		System.out.println(name + "在维护windows server");
	}

	// UI老师还能做视频剪辑
	public void videoProcess() {
		System.out.println(name + "在处理视频！");
	}
}
